﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace SuraQR
{
    public partial class dataMorniter : Form
    {
        private luncher lun;

        public luncher Lun
        {
            get { return lun; }
            set { lun = value; }
        }

        public dataMorniter()
        {
            InitializeComponent();
        }

        private void dataMorniter_Load(object sender, EventArgs e)
        {
            Debug.WriteLine( lun);
            if (Lun != null)
            {
                Debug.WriteLine("mdataGrid.DataSource" + mdataGrid.DataSource);
                mdataGrid.DataSource = Lun.B;
                Debug.WriteLine("mdataGrid.DataSource" + mdataGrid.DataSource);

                dataTax3.DataSource = lun.T3;
                
            }
        }
    }
}
